package com.block.db.mapper;

import com.block.db.entity.AddressInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-08-24
 */
public interface AddressInfoMapper extends BaseMapper<AddressInfo> {

    AddressInfo selectEntityByCityName(String city);

    List<AddressInfo> selectListByProvince();

    List<AddressInfo> selectCityListByProvinceCode(@Param("provinceCode") String provinceCode);

}
